package com.huiyang.demo.service;


import com.huiyang.demo.entity.DeviceInfoEntity;

/**
 * @ProjectName: DEEBCG Websoket Demo
 * @Package: huiyang.supervise.bed.service
 * @ClassName: IResponseListener
 * @Description: java类作用描述
 * @Author: yuan
 * @CreateDate: 2020/9/9 4:16 PM
 */
public interface IWebSocketResponseListener {
    /**
     * web socket数据
     * @param text
     */
    void onMessageText(DeviceInfoEntity text);

    /**
     * web socket连接状态
     * @param status
     */
    void onSocketStatus(String status);
//    void onMessageBytes(ByteString bytes);
}
